Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dockerfile fix #138

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

dockerfile fix #138

wants to merge 1 commit into from

Conversation

sjhddh
Copy link

@sjhddh sjhddh commented Oct 27, 2021

This fixes the "ImportError: libGL.so.1: cannot open shared object file: No such file or directory" when running docker container. Having such important edits to the Dockerfile will resolve the issue.

@@ -11,6 +11,9 @@ ENV CMAKE_PREFIX_PATH="$(dirname $(which conda))/../"
RUN apt-get update && apt-get install -y git libglib2.0-0 libsm6 libxrender-dev \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*

RUN apt-get update ##[edited]
RUN apt-get install ffmpeg libsm6 libxext6 -y

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

libsm6 is already included in line 11

Copy link

@antonellopasella-kedos antonellopasella-kedos left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It seems ok, same error the PR will fix it

Copy link

@antonellopasella-kedos antonellopasella-kedos left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please remove the duplicate package

@maizer2
Copy link

maizer2 commented Aug 31, 2022

apt-get install -y libgl1-mesa-glx

@OpenMMLab-Assistant005
Copy link

Hi @sjhddh !We are grateful for your efforts in helping improve this open-source project during your personal time.
Welcome to join OpenMMLab Special Interest Group (SIG) private channel on Discord, where you can share your experiences, ideas, and build connections with like-minded peers. To join the SIG channel, simply message moderator— OpenMMLab on Discord or briefly share your open-source contributions in the #introductions channel and we will assist you. Look forward to seeing you there! Join us :https://discord.gg/UjgXkPWNqA
If you have a WeChat account,welcome to join our community on WeChat. You can add our assistant :openmmlabwx. Please add "mmsig + Github ID" as a remark when adding friends:)
Thank you again for your contribution❤

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants